package com.springcloud.xxkfz.service.impl;

import com.springcloud.xxkfz.feign.AccountFeign;
import com.springcloud.xxkfz.service.OrderService;
import com.springcloud.xxkfz.vo.AccountVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 公众号: SimpleMemory
 * @version 1.0.0
 * @ClassName OrderServiceImpl.java
 * @Description TODO
 * @createTime 2023年01月30日 13:29:00
 */

@Service
public class OrderServiceImpl implements OrderService {

	@Autowired
	private AccountFeign accountFeign;


	@Override
	public List<AccountVO> getAccountList() {
		return accountFeign.list();
	}

	@Override
	public AccountVO getAccountById(String id) {
		return accountFeign.getAccountById(id);
	}
}
